package com.ygl.api;

import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

/**
 * @Author yanggld
 * @Date 2019/11/22-14:23
 * @Description
 */
public interface ServiceProviderApi {

    @GetMapping("/findName")
    String findName(@RequestHeader("token") String token);

    @GetMapping("/findUser")
    User findUser(@SpringQueryMap User user);
}